<?php

namespace app\admin\controller;

use app\common\controller\AdminController;
use EasyAdmin\annotation\ControllerAnnotation;
use EasyAdmin\annotation\NodeAnotation;
use think\App;
use app\admin\model\Gorder;
/**
 * @ControllerAnnotation(title="Gorder")
 */
class Tobeshipped extends AdminController
{
    //待发货
    public function index(){


        $arr = Gorder::
        join('receiving_address','receiving_address.location_id=ea_order.location_id')
            ->where('order_status',1)
            ->paginate(2);

        return view('Order/TobeshippedList',compact('arr'));
    }

    //添加
    public function CompletedAdd(){

    }

}